package com.example.apple.hxbtc.activity;

import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import com.example.apple.hxbtc.R;

/**
 * Created by hpz on 17/2/25.
 */

public class BtcWebActivity extends BaseActivity {

    private WebView webView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_btc_web);
        setTitle("认识比特币");
        webView = (WebView) findViewById(R.id.web_view_btc);
        webView.getSettings().setJavaScriptEnabled(true);
        webView.setWebViewClient(new WebViewClient());
        webView.loadUrl("https://www.okcoin.cn/shequ/new/wap/guidanceDetail.do?tid=2504747");
    }
}
